//
//  UITextView+RAC.h
//  高仿暴走斗图
//
//  Created by huangsongyao on 16/3/26.
//  Copyright © 2016年 huangsongyao. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UITextView (RAC)

/**
 *  rac 创建textView
 *
 *  @param borderWidth   边框宽度
 *  @param borderColor   边框颜色
 *  @param textAlignment 字体对齐
 *  @param font          字体大小
 *  @param returnKeyType return按钮类型
 *  @param textColor     字体颜色
 *  @param bkColor       背景色
 *  @param keyboardType  键盘类型
 *  @param completion    text change的rac关于block回调
 *
 *  @return UITextView对象
 */
+ (UITextView *)rac_createTextViewForBorderWidth:(CGFloat)borderWidth  borderColor:(UIColor *)borderColor textAlignment:(NSTextAlignment)textAlignment font:(UIFont *)font returnKeyType:(UIReturnKeyType)returnKeyType textColor:(UIColor *)textColor bkColor:(UIColor *)bkColor keyboardType:(UIKeyboardType)keyboardType signalCompletion:(void(^)(id x))completion;

@end
